package com.dq.service.sys.user;

import com.dq.controller.in.RechargeCardRequest;
import com.dq.controller.in.UserCardQuery;
import com.dq.domain.sys.user.user.centre.UserCard;
import com.dq.exception.customException.AdminException;
import com.dq.vo.Vo;

import java.util.List;

/**
 * @Author luchangtong
 * @Date 2020/4/14 9:17
 */
public interface UserCardService {

    Vo addCard(RechargeCardRequest rechargeCardRequest)throws AdminException;

    Vo editCard(RechargeCardRequest rechargeCardRequest)throws AdminException;

    Vo editStatus(Long id)throws AdminException;

    List<UserCard> cardList(UserCardQuery userCardQuery) throws AdminException;

    Long cardCount(UserCardQuery userCardQuery) throws AdminException;

    List<UserCard> cardByUser(Long wxUserId) throws AdminException;

   public List<UserCard.Vo> transformUserCard(List<UserCard> list) throws AdminException;
}
